<template>
  <div><slot></slot></div>
</template>

<script>
export default {
  name: 'ZFormProvider',
  props: {
    config: {
      type: Object,
      default() {
        return {}
      }
    }
  },
  provide() {
    let self = this
    return {
      ZFormProviderIns: {
        getMeta() {
          return self.config
        }
      }
    }
  },
}
</script>
